/**
 * 判断是否是否灰测方案
 * @export
 * @param {*} [slotList=[]] 灰测id数组
 * @param {boolean} [useWhiteList=false] 是否使用白名单
 * @returns
 */
export default function slotGray(slotList = [], useWhiteList = false) {
    let { userinfoSlot } = WPT.userinfo;
    userinfoSlot = Number(userinfoSlot);

    return (useWhiteList && userinfoSlot == 10) || slotList.includes(userinfoSlot);
}
